// pages/parent/parent.js
const app=getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    typeList:[],
  },
  //查看的函数
  examine:function(e){
    var p=e.currentTarget.dataset.id
    app.globalData.nowQuest=this.data.typeList[p]
    wx.navigateTo({
      url: '/pages/toothExam/toothExam',
    })
  },
  //开启的函数
  creatUser:function(){
    wx.navigateTo({
      url: 'url',
    })
  },
  back:function(){
    wx.switchTab({
      url: "/pages/login/login",
    })
  },
  onShow:function(){
    var mid=app.globalData.userList
    this.setData({
      typeList:mid
    })
  }
})